package com.jboost.hyk.knowledge.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.jboost.common.system.base.entity.JBoostEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 知识点日志
 * @Author: cxn
 * @Date:   2022-10-24
 * @Version: V1.0
 */
@Data
@TableName("hyk_knowledge_point_log")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hyk_knowledge_point_log对象", description="知识点日志")
public class KnowledgePointLog{

    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    /** 创建人 */
    @ApiModelProperty(value = "创建人")
    @Excel(name = "创建人", width = 15)
    private java.lang.String createBy;
    /** 创建时间 */
    @ApiModelProperty(value = "创建时间")
    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;
    /**知识点id*/
    @ApiModelProperty(value = "知识点id")
    private String knowledgeId;

    /**操作：new-创建；edit-编辑；version-更新版本；release-下发；*/
    @ApiModelProperty(value = "操作：new-创建；edit-编辑；version-更新版本；release-下发；")
    private String action;

    /**快照信息*/
    @ApiModelProperty(value = "快照信息")
    private String snapshot;

    /**备注*/
    @ApiModelProperty(value = "备注")
    private String remark;

}
